3.1.74 \(\int \frac {(b x^2)^p}{x^2} \, dx\)

Optimal. Leaf size=19 \[ -\frac {\left (b x^2\right )^p}{(1-2 p) x} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {15, 30} \begin {gather*} -\frac {\left (b x^2\right )^p}{(1-2 p) x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(b*x^2)^p/x^2,x]

[Out]

-((b*x^2)^p/((1 - 2*p)*x))

Rule 15

Int[(u_.)*((a_.)*(x_)^(n_))^(m_), x_Symbol] :> Dist[(a^IntPart[m]*(a*x^n)^FracPart[m])/x^(n*FracPart[m]), Int[
u*x^(m*n), x], x] /; FreeQ[{a, m, n}, x] &&  !IntegerQ[m]

Rule 30

Int[(x_)^(m_.), x_Symbol] :> Simp[x^(m + 1)/(m + 1), x] /; FreeQ[m, x] && NeQ[m, -1]

Rubi steps

\begin {align*} \int \frac {\left (b x^2\right )^p}{x^2} \, dx &=\left (x^{-2 p} \left (b x^2\right )^p\right ) \int x^{-2+2 p} \, dx\\ &=-\frac {\left (b x^2\right )^p}{(1-2 p) x}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.00, size = 18, normalized size = 0.95 \begin {gather*} \frac {\left (b x^2\right )^p}{(2 p-1) x} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(b*x^2)^p/x^2,x]

[Out]

(b*x^2)^p/((-1 + 2*p)*x)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.03, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (b x^2\right )^p}{x^2} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(b*x^2)^p/x^2,x]

[Out]

Defer[IntegrateAlgebraic][(b*x^2)^p/x^2, x]

________________________________________________________________________________________

fricas [A]  time = 0.93, size = 18, normalized size = 0.95 \begin {gather*} \frac {\left (b x^{2}\right )^{p}}{{\left (2 \, p - 1\right )} x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2)^p/x^2,x, algorithm="fricas")

[Out]

(b*x^2)^p/((2*p - 1)*x)

________________________________________________________________________________________

giac [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (b x^{2}\right )^{p}}{x^{2}}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2)^p/x^2,x, algorithm="giac")

[Out]

integrate((b*x^2)^p/x^2, x)

________________________________________________________________________________________

maple [A]  time = 0.00, size = 19, normalized size = 1.00 \begin {gather*} \frac {\left (b \,x^{2}\right )^{p}}{\left (2 p -1\right ) x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x^2)^p/x^2,x)

[Out]

1/x/(2*p-1)*(b*x^2)^p

________________________________________________________________________________________

maxima [A]  time = 1.36, size = 19, normalized size = 1.00 \begin {gather*} \frac {b^{p} x^{2 \, p}}{{\left (2 \, p - 1\right )} x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x^2)^p/x^2,x, algorithm="maxima")

[Out]

b^p*x^(2*p)/((2*p - 1)*x)

________________________________________________________________________________________

mupad [B]  time = 0.93, size = 18, normalized size = 0.95 \begin {gather*} \frac {{\left (b\,x^2\right )}^p}{x\,\left (2\,p-1\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((b*x^2)^p/x^2,x)

[Out]

(b*x^2)^p/(x*(2*p - 1))

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \begin {cases} \frac {b^{p} \left (x^{2}\right )^{p}}{2 p x - x} & \text {for}\: p \neq \frac {1}{2} \\\int \frac {\sqrt {b x^{2}}}{x^{2}}\, dx & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((b*x**2)**p/x**2,x)

[Out]

Piecewise((b**p*(x**2)**p/(2*p*x - x), Ne(p, 1/2)), (Integral(sqrt(b*x**2)/x**2, x), True))

________________________________________________________________________________________